xen: arm: make sure pagetable mask macros have appropriate size
authorIan Campbell <ian.campbell@citrix.com>
Thu, 10 Oct 2013 14:43:43 +0000 (15:43 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 24 Oct 2013 13:24:15 +0000 (14:24 +0100)
commit8e782d0191d260c1a143f081fa0a30c2a4182aee
tree77fab49079cfc25ca1d2ab3438acaa4688ce9269
parentd2766bee0f1f0fc1c4dbf30dcc9a43b91d5f19ce
xen: arm: make sure pagetable mask macros have appropriate size

{ZEROETH,FIRST,SECOND,THIRD}_MASK are used with physical addresses which may
be larger than 32 bits. Therefore ensure that they are wide enough by casting
to paddr_t otherwise we may truncate addresses on 32-bit.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/include/asm-arm/page.h